<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/7/15
 * Time: 10:31
 */
class MyAdmin extends Base
{
    static function index()
    {
        if (!MyAdmin_Authority::isLogin()) {
            Tpl_Smarty::display('MyAdmin', 'login.tpl');
            die();
        }

        Tpl_Smarty::display('MyAdmin', 'index.tpl');
    }
}